home *** CD-ROM | disk | FTP | other *** search
/ The Epic Interactive Encyclopedia 1998 / Epic Interactive Encyclopedia, The - 1998 Edition (1998)(Epic Marketing).iso / Free_Data / Zappo1_V11.2.LHA / OverCD_600.install < prev    next >
Text File  |  1995-02-19  |  7KB  |  230 lines

  1. ; $VER: Install OverCD © ARCHOS 11.2 1994-95
  2. ; Script to install ARCHOS Overdrive CD Software
  3. ; Version AMIGA 600
  4.  
  5.         (complete 0)
  6.  
  7.         (welcome "(C) ARCHOS 1995 - OVERDRIVE CD Installation - Ver 11.2")
  8.  
  9.         (execute ":update-handler")
  10.         (if (exists "RAM:ATBUS")
  11.         (
  12.            (if (exists "RAM:NOHD")
  13.            (    
  14.               (message "\nNo hard drive was detected : the CDROM handler\n"
  15.                        "'l:overcd-handler' on your 'OVERCD' system disk\n" 
  16.                        "need be updated\n"
  17.                        "\nUpdating CDROM Handler ATBUS version...\n"
  18.                        "\n(Please confirm operation below : Proceed/Abort)")
  19.               (copyfiles
  20.                   (help @copyfiles-help)
  21.                   (source "Install:l/overcd-handler.ATBUS")
  22.                   (dest   "RAM:")
  23.               )
  24.                  (rename ("RAM:overcd-handler.ATBUS") ("RAM:overcd-handler"))
  25.               (copyfiles
  26.                   (help @copyfiles-help)
  27.                   (source "RAM:overcd-handler")
  28.                   (dest   "Overcd:l")
  29.               )
  30.                  (delete "RAM:overcd-handler") 
  31.               (exit)
  32.            )) 
  33.            (message "\nUpdating CDROM Handler ATBUS version...\n"
  34.                     "\nL:overcd-handler\n"
  35.                     "\n(Please confirm operation below : Proceed/Abort)")
  36.            (copyfiles
  37.                (help @copyfiles-help)
  38.                (source "Install:l/overcd-handler.ATBUS")
  39.                (dest   "RAM:")
  40.            )
  41.               (rename ("RAM:overcd-handler.ATBUS") ("RAM:overcd-handler"))
  42.            (copyfiles
  43.                (help @copyfiles-help)
  44.                (source "RAM:overcd-handler")
  45.                (dest   "L:")
  46.            )
  47.               (delete "RAM:overcd-handler") 
  48.         ))
  49.         (if (exists "RAM:EIDE")
  50.         (
  51.            (message "\nUpdating CDROM Handler EIDE version...\n"
  52.                     "\nL:overcd-handler\n"
  53.                     "\n(Please confirm operation below : Proceed/Abort)")
  54.  
  55.            (copyfiles
  56.                (help @copyfiles-help)
  57.                (source "Install:l/overcd-handler")
  58.                (dest   "L:")
  59.            )
  60.         ))
  61.         (if (exists "RAM:NOCD")
  62.         (
  63.            (message "\nWARNING : abnormal situation !\n"
  64.                     "\nNo CDROM Hardware detected !\n"
  65.                     "\nThe CDROM Unit is not properly set up !\n"
  66.                     "\n(Installation is aborted : Abort/Abort)")
  67.            (exit)
  68.         ))
  69.  
  70.         (complete 10)
  71.  
  72.         (message "\nUpdating Libraries...\n"
  73.                  "\nnonvolatile.library\n"
  74.                  "lowlevel.library\n"
  75.                  "freeanim.library\n"
  76.                  "debox.library\n"
  77.                  "playerprefs.library\n"
  78.                  "\n(Please confirm operation below : Proceed/Abort)")
  79.         
  80.         (copylib
  81.             (source "OverCD:Libs/debox.library")
  82.             (dest   "LIBS:")
  83.         )
  84.  
  85.         (complete 20)
  86.  
  87.         (copylib
  88.             (source "OverCD:Libs/playerprefs.library")
  89.             (dest   "LIBS:")
  90.         )
  91.  
  92.         (complete 30)
  93.  
  94.         (copylib
  95.             (source "OverCD:Libs/lowlevel.library")
  96.             (dest   "LIBS:")
  97.         )
  98.  
  99.         (complete 40)
  100.  
  101.         (copylib
  102.             (source "OverCD:Libs/freeanim.library")
  103.             (dest   "LIBS:")
  104.         )
  105.  
  106.         (complete 50)
  107.  
  108.         (copylib
  109.             (source "OverCD:Libs/nonvolatile.library")
  110.             (dest   "LIBS:")
  111.         )
  112.  
  113.         (complete 60)
  114.  
  115.         (message "\nUpdating Commands...\n"
  116.                  "\ncdboot\n"
  117.                  "\n(Please confirm operation below : Proceed/Abort)")
  118.  
  119.         (if (exists "C:cdboot")
  120.             (delete "C:cdboot")
  121.         )
  122.  
  123.         (copyfiles
  124.             (source "OverCD:c/cdboot600")
  125.             (dest   "C:")
  126.  
  127.        )
  128.         (copyfiles
  129.             (source "OverCD:c/runback")
  130.             (dest   "C:")
  131.         )
  132.  
  133.         (rename "C:cdboot600" "C:cdboot")
  134.  
  135.         (complete 70)
  136.  
  137.         (message "\nUpdating Mountlist...\n"
  138.                  "\n(Please confirm operation below : Proceed/Abort)")
  139.  
  140.         (if (= (run "C:search DEVS:mountlist CD0:") 5)
  141.             (
  142.             ; no CD0: in mountlist
  143.             (run "C:join DEVS:mountlist OverCD:devs/mountlist600 as T:mountlist")
  144.             (copyfiles
  145.                 (source "T:mountlist")
  146.                 (dest   "DEVS:")
  147.             )
  148.             (delete "T:mountlist")
  149.             )
  150.         )
  151.  
  152.         (complete 80)
  153.  
  154.         (if (not (exists "S:startup-sequence.std"))            
  155.             (rename "S:startup-sequence" "S:startup-sequence.std")
  156.         )
  157.  
  158.         (run "copy OverCD:S/startup-sequence600 to S:startup-sequence.cd")
  159.  
  160.         (run "copy OverCD:s/startup-sequence600 to S:startup-sequence") 
  161.  
  162.         (run "C:execute INSTALL:nv_script")
  163.         
  164.         (complete 90)
  165.  
  166.         (set ch 
  167.             (askoptions
  168.                 (prompt "\nSelect the CD utilities to install...\n")
  169.                 (help @askoptions-help)
  170.                 (choices 
  171.                     "CDDA (CD Digital Audio player)"
  172.                     "CDDoor (Open/Close CD Drive Tray)"
  173.                 )
  174.             )
  175.         )
  176.  
  177.         (set utilsdir 
  178.             (askdir
  179.                 (prompt "OverDrive-CD utilities will be copied\n"
  180.                         "to the Selected Drawer below.\n"
  181.                         "Select the destination directory:"
  182.                 )
  183.                 (help @askdir-help)
  184.                 (default "SYS:Utilities")
  185.                 (disk)
  186.             )
  187.         )
  188.  
  189.         (if (in ch 0)
  190.             (
  191.             (copyfiles
  192.                 (source "Install:CDDA")
  193.                 (dest   utilsdir)
  194.             )
  195.             (copyfiles
  196.                 (source "Install:CDDA.info")
  197.                 (dest   utilsdir)
  198.             )
  199.             (copyfiles
  200.                 (source "Install:CDDA.iff")
  201.                 (dest   utilsdir)
  202.             )
  203.             (copyfiles
  204.                 (source "Install:CDVersion")
  205.                 (dest   utilsdir)
  206.             )
  207.             (copyfiles
  208.                 (source "Install:CDVersion.info")
  209.                 (dest   utilsdir)
  210.             )
  211.             )
  212.         )
  213.  
  214.         (if (in ch 1)   
  215.             (
  216.             (copyfiles
  217.                 (source "Install:CDDoor")
  218.                 (dest   utilsdir)
  219.             )
  220.             (copyfiles
  221.                 (source "Install:CDDoor.info")
  222.                 (dest   utilsdir)
  223.             )
  224.             )
  225.         )
  226.  
  227.         (complete 100)
  228.  
  229.         (exit)
  230.